[INFO] cloning repository https://github.com/shantanu28sharma/paralleldownload
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shantanu28sharma/paralleldownload" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshantanu28sharma%2Fparalleldownload", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshantanu28sharma%2Fparalleldownload'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f91d8cc1bb922c100cc23d53a436521ed36581ca
[INFO] building shantanu28sharma/paralleldownload against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshantanu28sharma%2Fparalleldownload" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shantanu28sharma/paralleldownload on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/shantanu28sharma/paralleldownload
[INFO] finished tweaking git repo https://github.com/shantanu28sharma/paralleldownload
[INFO] tweaked toml for git repo https://github.com/shantanu28sharma/paralleldownload written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/shantanu28sharma/paralleldownload already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 340cae14f44e274502b6ca77c3fa3094c54acc86dd2ffd02409a039c2bb2d6ab
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "340cae14f44e274502b6ca77c3fa3094c54acc86dd2ffd02409a039c2bb2d6ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "340cae14f44e274502b6ca77c3fa3094c54acc86dd2ffd02409a039c2bb2d6ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "340cae14f44e274502b6ca77c3fa3094c54acc86dd2ffd02409a039c2bb2d6ab", kill_on_drop: false }`
[INFO] [stdout] 340cae14f44e274502b6ca77c3fa3094c54acc86dd2ffd02409a039c2bb2d6ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 402ed146bd04b4e5462f1e193dcd178bb0dffc1c5d0d5a332e5a6e3edc4ed941
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "402ed146bd04b4e5462f1e193dcd178bb0dffc1c5d0d5a332e5a6e3edc4ed941", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]    Compiling log v0.4.13
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling bytes v1.0.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling openssl v0.10.32
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-sink v0.3.9
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.9
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling encoding_rs v0.8.26
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling futures-channel v0.3.9
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tinyvec v1.1.0
[INFO] [stderr]    Compiling futures-util v0.3.9
[INFO] [stderr]    Compiling http v0.2.3
[INFO] [stderr]    Compiling form_urlencoded v1.0.0
[INFO] [stderr]    Compiling tokio v1.0.1
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling tracing v0.1.22
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.7
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling openssl-sys v0.9.60
[INFO] [stderr]    Compiling unicode-normalization v0.1.16
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling http-body v0.4.0
[INFO] [stderr]    Compiling url v2.2.0
[INFO] [stderr]    Compiling tokio-macros v1.0.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.4
[INFO] [stderr]    Compiling pin-project v1.0.4
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling tracing-futures v0.2.4
[INFO] [stderr]    Compiling tokio-stream v0.1.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-util v0.6.0
[INFO] [stderr]    Compiling h2 v0.3.0
[INFO] [stderr]    Compiling hyper v0.14.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.0
[INFO] [stderr]    Compiling async-download v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::error`
[INFO] [stdout]  --> src/downloader.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::DownloadError;
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            unresolved import
[INFO] [stdout]   |            help: a similar path exists: `std::error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout] 7  |     let mut d1 = downloader::Downloader::new(None, None);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----  ---- supplied 2 arguments
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected 1 argument
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/downloader.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn new(max_conn: Option<usize>) -> Self {
[INFO] [stdout]    |            ^^^ -----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `start_download` found for struct `Downloader` in the current scope
[INFO] [stdout]    --> src/main.rs:17:8
[INFO] [stdout]     |
[INFO] [stdout] 17  |     d1.start_download().await;
[INFO] [stdout]     |     ---^^^^^^^^^^^^^^
[INFO] [stdout]     |     |  |
[INFO] [stdout]     |     |  this is an associated function, not a method
[INFO] [stdout]     |     help: use associated function syntax instead: `Downloader::start_download`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/downloader.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout] 33  | pub struct Downloader {
[INFO] [stdout]     | --------------------- method `start_download` not found for this
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `Downloader`
[INFO] [stdout]    --> src/downloader.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | /     pub async fn start_download(
[INFO] [stdout] 114 | |         mut reciever: mpsc::UnboundedReceiver<FileInfo>,
[INFO] [stdout] 115 | |         d_info: Arc<Results>,
[INFO] [stdout] 116 | |     ) -> Result<(), DownloadError> {
[INFO] [stdout]     | |__________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async-download`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "402ed146bd04b4e5462f1e193dcd178bb0dffc1c5d0d5a332e5a6e3edc4ed941", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "402ed146bd04b4e5462f1e193dcd178bb0dffc1c5d0d5a332e5a6e3edc4ed941", kill_on_drop: false }`
[INFO] [stdout] 402ed146bd04b4e5462f1e193dcd178bb0dffc1c5d0d5a332e5a6e3edc4ed941
